package com.lx.pc.service.supplydemandimg.impl;

import java.math.BigInteger;
import java.util.List;

import org.springframework.stereotype.Service;

import com.lx.pc.domain.entity.supplydemandimg.SupplydemandimgEntity;
import com.lx.pc.domain.vo.supplydemandimg.SupplydemandimgVo;
import com.lx.pc.mybatis.repository.supplydemandimg.SupplydemandimgRepository;
import com.lx.pc.service.AbstractService;
import com.lx.pc.service.supplydemandimg.ISupplydemandimgService;

@Service("supplydemandimgService")
public class SupplydemandimgServiceImpl extends AbstractService<SupplydemandimgEntity,SupplydemandimgVo, BigInteger, SupplydemandimgRepository> implements ISupplydemandimgService{

	@Override
	public List<SupplydemandimgVo> findBySupplydemandimg(SupplydemandimgVo supplydemandimg) {
		
		return etoV(repository.findBySupplydemandimg(supplydemandimg));
	}

	@Override
	public void deleteSupplydemandimg(BigInteger supplyDemandId) {

		repository.delete(supplyDemandId);
	}

	
	
}
